package com.red.star.macalline.es.entity;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import java.util.Date;

@Data
@Document(indexName = "access",type = "LgAccess")
public class AccessLog {

    /**
     * 服务器IP
     */
    private String ip;
    /**
     * 服务器应用
     */
    private String service;

    /**
     * 客户端请求IP
     */
    private String cIp;
    /**
     * 请求user-agent
     */
    private String ua;
    /**
     * 请求地址
     */
    private String url;

    /**
     * 请求详情
     */
    private String memo;

    private Integer fansId;

    private String openId;

    private Integer userType;

    private String vipOpenId;

    private String sDate;

    private String sTime;
}
